package com.swxc.ssm.service;

import com.swxc.ssm.po.Course;
import com.swxc.ssm.po.Usertocou;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by admin on 2017/8/4.
 */

public interface UsertocouService {

    List<Course> selectByUserID(Integer ID);

    int insert(Integer UserId,Integer CourseId);

    int deleteByPrimaryKey(Integer ID);

   // int insert(@Param("UserId")Integer UserId, @Param("CourseId")Integer CourseId);
   List<Course> selectByUserStatus(Integer UserId ,Integer Status);
}
